package data;

import java.io.Serializable;
import java.util.Calendar;

public class MatrixTime implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private double[][] mat;
	private Calendar start;
	private Calendar end;
	private CityArea area;
	
	public MatrixTime(double[][] mat, Calendar start, Calendar end, CityArea area) {
		this.mat = mat;
		this.start = start;
		this.end = end;
		this.area = area;
	}
	
	
	
	public double getVal(int i, int j) {
		return mat[i][j];
	}
	
	
	// getters
	public double[][] getMat() {
		return mat;
	}

	public Calendar getStart() {
		return start;
	}

	public Calendar getEnd() {
		return end;
	}
	public CityArea getArea() {
		return area;
	}
}
